﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tapt.Data.DataModel;
namespace Tapt.Data.DTO
{
    public static class GeneralData
    {
        public static Tapt.Data.DataModel.GeneralData Get(string key) 
        {
            Tapt.Data.DataModel.TaptDataEntities db = new DataModel.TaptDataEntities();
            return db.GeneralDatas.Where(item => item.Key == key).FirstOrDefault();
        }
    }
}
